package org.brisling.oa.domain;


import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.brisling.base.domain.impl.BaseDomainExcludeId;
import org.brisling.base.domain.inf.BaseDeptDomainInf;
import org.brisling.common.ConstSysParam;

/**
 * 
 * 通讯录实体类
 * @author : jackson wang
 * @Date   : 2015年10月8日 下午10:01:07
 * @version: 1.0
 * 
 */

@Entity
@Table(name=ConstSysParam.MODULE_OA_ADDRESS_LIST)
public class OAAddressList extends BaseDomainExcludeId implements BaseDeptDomainInf{
	
	@Id
	private Long id;
	
	private Long deptid;
	
	private String deptName;
	
	//办公电话
	private String workphone;

	//移动电话
	private String mobile;
	
	//职位
	private String position;

	//电子邮箱
	private String email;

	//QQ账号
	private String qq;

	//微信号
	private String weixin;
	
	//账号
	private String loginname;
	
	

	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return the deptid
	 */
	public Long getDeptid() {
		return deptid;
	}

	/**
	 * @param deptid the deptid to set
	 */
	public void setDeptid(Long deptid) {
		this.deptid = deptid;
	}

	/**
	 * @return the deptName
	 */
	public String getDeptName() {
		return deptName;
	}

	/**
	 * @param deptName the deptName to set
	 */
	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getWorkphone() {
		return workphone;
	}

	public void setWorkphone(String workphone) {
		this.workphone = workphone;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}


	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	
	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getWeixin() {
		return weixin;
	}

	public void setWeixin(String weixin) {
		this.weixin = weixin;
	}
	
	

	public String getLoginname() {
		return loginname;
	}

	public void setLoginname(String loginname) {
		this.loginname = loginname;
	}
}
